<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<div style="border: 1px black; " class="hotel-index">
	<c:forEach items="${list}" var="food">
		
		<div class="hotel-moodel"style="width:23%;margin: 10px;float: left;">
			<a href="shangjia.do?shopId=${food.id}" >
				<img src="${food.img[0]}" style="width:100%;"/>
				<div class="hotel-moodel-xiaoz">${food.shopName}</div>
			</a>
		</div>
	</c:forEach>
	<div style="clear: both;"></div>
</div>